home *** CD-ROM | disk | FTP | other *** search
-
-
-
- EEEELLLLFFFF____FFFFLLLLAAAAGGGG((((3333EEEE)))) EEEELLLLFFFF____FFFFLLLLAAAAGGGG((((3333EEEE))))
-
-
-
- NNNNAAAAMMMMEEEE
- _eeee_llll_ffff______ffff_llll_aaaa_gggg_dddd_aaaa_tttt_aaaa_,,,, _eeee_llll_ffff______ffff_llll_aaaa_gggg_eeee_hhhh_dddd_rrrr_,,,, _eeee_llll_ffff______ffff_llll_aaaa_gggg_eeee_llll_ffff_,,,, _eeee_llll_ffff______ffff_llll_aaaa_gggg_pppp_hhhh_dddd_rrrr_,,,, _eeee_llll_ffff______ffff_llll_aaaa_gggg_ssss_cccc_nnnn_,,,,
- _eeee_llll_ffff______ffff_llll_aaaa_gggg_ssss_hhhh_dddd_rrrr - manipulate flags
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- _cccc_cccc [_f_l_a_g ...] _f_i_l_e ... _----_llll_eeee_llll_ffff [_l_i_b_r_a_r_y ...]
-
- _####_iiii_nnnn_cccc_llll_uuuu_dddd_eeee _<<<<_llll_iiii_bbbb_eeee_llll_ffff_...._hhhh_>>>>
- _uuuu_nnnn_ssss_iiii_gggg_nnnn_eeee_dddd _eeee_llll_ffff______ffff_llll_aaaa_gggg_dddd_aaaa_tttt_aaaa_((((_EEEE_llll_ffff______DDDD_aaaa_tttt_aaaa _****_dddd_aaaa_tttt_aaaa_,,,, _EEEE_llll_ffff______CCCC_mmmm_dddd _cccc_mmmm_dddd_,,,, _uuuu_nnnn_ssss_iiii_gggg_nnnn_eeee_dddd _ffff_llll_aaaa_gggg_ssss_))))_;;;;
- _uuuu_nnnn_ssss_iiii_gggg_nnnn_eeee_dddd _eeee_llll_ffff______ffff_llll_aaaa_gggg_eeee_hhhh_dddd_rrrr_((((_EEEE_llll_ffff _****_eeee_llll_ffff_,,,, _EEEE_llll_ffff______CCCC_mmmm_dddd _cccc_mmmm_dddd_,,,, _uuuu_nnnn_ssss_iiii_gggg_nnnn_eeee_dddd _ffff_llll_aaaa_gggg_ssss_))))_;;;;
- _uuuu_nnnn_ssss_iiii_gggg_nnnn_eeee_dddd _eeee_llll_ffff______ffff_llll_aaaa_gggg_eeee_llll_ffff_((((_EEEE_llll_ffff _****_eeee_llll_ffff_,,,, _EEEE_llll_ffff______CCCC_mmmm_dddd _cccc_mmmm_dddd_,,,, _uuuu_nnnn_ssss_iiii_gggg_nnnn_eeee_dddd _ffff_llll_aaaa_gggg_ssss_))))_;;;;
- _uuuu_nnnn_ssss_iiii_gggg_nnnn_eeee_dddd _eeee_llll_ffff______ffff_llll_aaaa_gggg_pppp_hhhh_dddd_rrrr_((((_EEEE_llll_ffff _****_eeee_llll_ffff_,,,, _EEEE_llll_ffff______CCCC_mmmm_dddd _cccc_mmmm_dddd_,,,, _uuuu_nnnn_ssss_iiii_gggg_nnnn_eeee_dddd _ffff_llll_aaaa_gggg_ssss_))))_;;;;
- _uuuu_nnnn_ssss_iiii_gggg_nnnn_eeee_dddd _eeee_llll_ffff______ffff_llll_aaaa_gggg_ssss_cccc_nnnn_((((_EEEE_llll_ffff______SSSS_cccc_nnnn _****_ssss_cccc_nnnn_,,,, _EEEE_llll_ffff______CCCC_mmmm_dddd _cccc_mmmm_dddd_,,,, _uuuu_nnnn_ssss_iiii_gggg_nnnn_eeee_dddd _ffff_llll_aaaa_gggg_ssss_))))_;;;;
- _uuuu_nnnn_ssss_iiii_gggg_nnnn_eeee_dddd _eeee_llll_ffff______ffff_llll_aaaa_gggg_ssss_hhhh_dddd_rrrr_((((_EEEE_llll_ffff______SSSS_cccc_nnnn _****_ssss_cccc_nnnn_,,,, _EEEE_llll_ffff______CCCC_mmmm_dddd _cccc_mmmm_dddd_,,,, _uuuu_nnnn_ssss_iiii_gggg_nnnn_eeee_dddd _ffff_llll_aaaa_gggg_ssss_))))_;;;;
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- These functions manipulate the flags associated with various structures
- of an ELF file. Given an ELF descriptor (_e_l_f), a data descriptor (_d_a_t_a),
- or a section descriptor (_s_c_n), the functions may set or clear the
- associated status bits, returning the updated bits. A null descriptor is
- allowed, to simplify error handling; all functions return zero for this
- degenerate case.
-
- _c_m_d may have the following values.
-
- _EEEE_LLLL_FFFF______CCCC______CCCC_LLLL_RRRR The functions clear the bits that are asserted in
- _f_l_a_g_s. Only the non-zero bits in _f_l_a_g_s are cleared;
- zero bits do not change the status of the descriptor.
-
- _EEEE_LLLL_FFFF______CCCC______SSSS_EEEE_TTTT The functions set the bits that are asserted in _f_l_a_g_s.
- Only the non-zero bits in _f_l_a_g_s are set; zero bits do
- not change the status of the descriptor.
-
- Descriptions of the defined _f_l_a_g_s bits appear below.
-
- _EEEE_LLLL_FFFF______FFFF______DDDD_IIII_RRRR_TTTT_YYYY When the program intends to write an ELF file, this
- flag asserts the associated information needs to be
- written to the file. Thus, for example, a program that
- wished to update the ELF header of an existing file
- would call _eeee_llll_ffff______ffff_llll_aaaa_gggg_eeee_hhhh_dddd_rrrr with this bit set in _f_l_a_g_s and
- _c_m_d equal to _EEEE_LLLL_FFFF______CCCC______SSSS_EEEE_TTTT. A later call to _eeee_llll_ffff______uuuu_pppp_dddd_aaaa_tttt_eeee
- would write the marked header to the file.
-
- _EEEE_LLLL_FFFF______FFFF______LLLL_AAAA_YYYY_OOOO_UUUU_TTTT Normally, the library decides how to arrange an output
- file. That is, it automatically decides where to place
- sections, how to align them in the file, etc. If this
- bit is set for an ELF descriptor, the program assumes
- responsibility for determining all file positions.
- This bit is meaningful only for _eeee_llll_ffff______ffff_llll_aaaa_gggg_eeee_llll_ffff and applies
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- EEEELLLLFFFF____FFFFLLLLAAAAGGGG((((3333EEEE)))) EEEELLLLFFFF____FFFFLLLLAAAAGGGG((((3333EEEE))))
-
-
-
- to the entire file associated with the descriptor.
-
- When a flag bit is set for an item, it affects all the subitems as well.
- Thus, for example, if the program sets the _EEEE_LLLL_FFFF______FFFF______DDDD_IIII_RRRR_TTTT_YYYY bit with
- _eeee_llll_ffff______ffff_llll_aaaa_gggg_eeee_llll_ffff, the entire logical file is ``dirty.''
-
- EEEEXXXXAAAAMMMMPPPPLLLLEEEE
- The following fragment shows how one might mark the ELF header to be
- written to the output file.
-
- _eeee_hhhh_dddd_rrrr _==== _eeee_llll_ffff_3333_2222______gggg_eeee_tttt_eeee_hhhh_dddd_rrrr_((((_eeee_llll_ffff_))))_;;;;
- _////_**** _dddd_iiii_rrrr_tttt_yyyy _eeee_hhhh_dddd_rrrr _...._...._.... _****_////
- _eeee_llll_ffff______ffff_llll_aaaa_gggg_eeee_hhhh_dddd_rrrr_((((_eeee_llll_ffff_,,,, _EEEE_LLLL_FFFF______CCCC______SSSS_EEEE_TTTT_,,,, _EEEE_LLLL_FFFF______FFFF______DDDD_IIII_RRRR_TTTT_YYYY_))))_;;;;
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- _eeee_llll_ffff(3E), _eeee_llll_ffff______eeee_nnnn_dddd(3E), _eeee_llll_ffff______gggg_eeee_tttt_dddd_aaaa_tttt_aaaa(3E), _eeee_llll_ffff______gggg_eeee_tttt_eeee_hhhh_dddd_rrrr(3E), _eeee_llll_ffff______uuuu_pppp_dddd_aaaa_tttt_eeee(3E).
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-